home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
4490
/
4490.xpi
/
chrome
/
wmn.jar
/
content
/
options.xul
< prev
next >
Wrap
Extensible Markup Language
|
2010-01-14
|
7KB
|
133 lines
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://wmn/content/pref.css" type="text/css"?>
<!DOCTYPE prefwindow SYSTEM "chrome://wmn/locale/overlay.dtd">
<prefwindow title="&pref-title;"
id="wmn-pref"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
ondialogaccept="onAccept()"
ondialogcancel="onCancel()"
onload="onLoad()">
<script type="application/x-javascript" src="chrome://wmn/content/options.js"/>
<script type="application/x-javascript" src="chrome://wmn/content/aes.js"/>
<stringbundleset>
<stringbundle id="wmn-strings" src="chrome://wmn/locale/overlay.properties"/>
</stringbundleset>
<prefpane id="prefPane">
<preferences id="prefs">
<preference id="pref-interval" name="extensions.wmn.updateInterval" type="int"/>
<preference id="pref-openintab" name="extensions.wmn.openInTab" type="bool"/>
<preference id="pref-newMailsOnly" name="extensions.wmn.newMailsOnly" type="bool"/>
<preference id="pref-mailAlert" name="extensions.wmn.mailAlert" type="bool"/>
<preference id="pref-keepAlert" name="extensions.wmn.keepAlert" type="bool"/>
<preference id="pref-mailSound" name="extensions.wmn.mailSound" type="bool"/>
<preference id="pref-showStatusbarIcon" name="extensions.wmn.showStatusbarIcon" type="bool"/>
<preference id="pref-startupOpenWMN" name="extensions.wmn.startupOpenWMN" type="bool"/>
<preference id="pref-yahooCaptcha" name="extensions.wmn.yahoo.showCaptcha" type="bool"/>
</preferences>
<tabbox>
<tabs>
<tab label="&webmail-accounts;"/>
<tab label="&general;"/>
</tabs>
<tabpanels>
<tabpanel orient="vertical">
<groupbox>
<caption label="&webmail-accounts;"/>
<hbox>
<vbox style="width:16em">
<menulist id="wmn-hosts" oncommand="checkIsNew();customizeAdvancedView()"/>
<label value="&username;"/>
<textbox id="username" size="25" oninput="checkIsNew();"/>
<label value="&password;"/>
<textbox type="password" id="password" oninput="setValue('passwd',this.value);"/>
<vbox id="advanced">
<vbox id="server-box">
<label value="&server;"/>
<textbox id="server" oninput="checkIsNew();"/>
</vbox>
<checkbox id="inbox-only" label="&inbox-only;" oncommand="setValue('inboxOnly',this.checked)"/>
<checkbox id="show-folders" label="&show-labels;" oncommand="setValue('showFolders',this.checked)"/>
<label id="lb-show-folders" value="&show-folders;" collapsed="true"/>
<label id="lb-show-labels" value="&show-labels;" collapsed="true"/>
<groupbox id="yahoo">
<checkbox id="yahoo-captcha" label="&show-captcha-dialog;" preference="pref-yahooCaptcha"/>
</groupbox>
</vbox>
<spacer flex="1"/>
</vbox>
<listbox id="wmn-accounts" onselect="onSelect(this.selectedIndex)" style="width:25em">
<listhead>
<listheader label=" "/>
<listheader label="&host;"/>
<listheader label="&username;"/>
<listheader label="&default;"/>
</listhead>
<listcols>
<listcol/>
<listcol/>
<listcol flex="1"/>
<listcol/>
</listcols>
</listbox>
</hbox>
<hbox>
<button id="btn-add" label="&add;" oncommand="onAdd()"/>
<button id="btn-delete" label="&delete;" oncommand="onDelete()"/>
<spacer flex="1"/>
<button label="&import;" oncommand="onImport()"/>
<button label="&export;" oncommand="onExport()"/>
<spacer flex="1"/>
<button label="&scripts;" oncommand="main.showScripts();"/>
</hbox>
</groupbox>
<groupbox flex="1">
<checkbox id="autologin" label="&autologin;"/>
</groupbox>
</tabpanel>
<tabpanel orient="vertical">
<hbox>
<groupbox flex="1">
<caption label="¬ification;"/>
<radiogroup preference="pref-newMailsOnly">
<radio label="&unread-mails;" value="false"/>
<radio label="&new-mails;" value="true"/>
</radiogroup>
</groupbox>
<groupbox flex="1">
<caption label="&mail-open;"/>
<radiogroup preference="pref-openintab">
<radio label="&new-tab;" value="true" selected="true"/>
<radio label="&new-window;" value="false"/>
</radiogroup>
</groupbox>
</hbox>
<groupbox>
<hbox align="center">
<label value="&check-mail-period0;"/>
<textbox id="updateInterval" style="width:3em;" maxlength="4" preference="pref-interval"/>
<label value="&check-mail-period1;" />
</hbox>
</groupbox>
<groupbox>
<caption label="&new-message-arrive;"/>
<checkbox id="show-alert" label="&show-alert;" preference="pref-mailAlert" oncommand="toggleKeepAlert();"/>
<checkbox id="keep-alert" label="&keep-alert;" class="indent" preference="pref-keepAlert" />
<hbox align="center" flex="1">
<checkbox preference="pref-mailSound" label="&play-sound;" flex="1"/>
<button label="&advanced;" oncommand="showAdvancedSound();"/>
</hbox>
</groupbox>
<groupbox>
<caption label="&interface;"/>
<checkbox label="&show-statusbar-icon;" preference="pref-showStatusbarIcon" />
<checkbox label="&startup-open-wmn;" preference="pref-startupOpenWMN" />
</groupbox>
</tabpanel>
</tabpanels>
</tabbox>
</prefpane>
</prefwindow>